package com.yunnuo.com.core;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 分页请求基类
 *
 * @author yunnuo
 * @since 2022-04-09
 */
@Data
public class PageReq {

    @NotNull(message = "PageReq.pageIndex 不能为空！")
    private Integer pageIndex;

    @NotNull(message = "PageReq.pageSize 不能为空！")
    private Integer pageSize;

}
